package com.example.jobback.dto;

import com.example.jobback.common.enums.PositionStatus;
import lombok.Data;

/**
 * @ClassName: UpdatePositionDto
 * @Description: redis存储岗位更新的传输体
 * @Author: lhb
 * @Date: 2025/6/20
 */
@Data
public class UpdatePositionDto {
    /**
     * @Description: 原岗位信息
     * @Author lhb
     * @CreateTime 2025/6/20 14:14
     */
    private PositionDto oldDto;

    /**
     * @Description: 待审核岗位信息
     * @Author lhb
     * @CreateTime 2025/6/20 14:14
     */
    private PositionDto newDto;

    /**
     * @Description: 岗位状态
     * @Author lhb
     * @CreateTime 2025/6/20 14:14
     */
    private PositionStatus status;

    /**
     * @Description: 错误反馈信息
     * @Author lhb
     * @CreateTime 2025/6/20 14:15
     */
    private String failMessage;
}
